plantuml_grammar.class_diagram

This module was automatically generated from the following grammar:

More...

Public Imports

pegged.peg
public import pegged.peg;
Undocumented in source.

Members

Aliases

PlantUML_ClassDiagram
alias PlantUML_ClassDiagram = GenericPlantUML_ClassDiagram!(ParseTree).PlantUML_ClassDiagram
Undocumented in source.

Structs

GenericPlantUML_ClassDiagram
struct GenericPlantUML_ClassDiagram(TParseTree)
Undocumented in source.

Detailed Description

PlantUML ClassDiagram

UML <- blank* "@startuml" eol Content* "@enduml" (blank* / eoi)

Content < / Class / Comment / Inherit

Class <- "class" space+ ClassName blank* ClassBody? ClassName <- identifier ClassBody < '{' (Class / ~(ClassContent*))* '}' ClassContent <- !Class !'}' .

Inherit < InheritRight / InheritLeft InheritRight < RelateIdFrom :('-'+ "|>") RelateIdTo InheritLeft < RelateIdTo :("<|" '-'+) RelateIdFrom

RelateIdFrom <- identifier RelateIdTo <- identifier

Comment <- space* :'\'' ~((!eol .)*) :eol

Meta